<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let i=1,num=0
        while(i<=100){
            num+=i
            i++
        }
        console.log(num)
        let sum=0,j=1
        while(j<=100){
            if(j%2==0){
               sum+=j 
            }
            j++
        }
        console.log(sum)
     while(true){
         let k=+prompt('我帅吗')
        if(k==='帅'){
            break
        }

     }
     </script>
</body>
</html>